import { createRouter, createWebHistory } from "vue-router";
import movieRouter from "./movie";
import cinemaRouter from "./cinema";
import mineRouter from "./mine";
import adminRouter from './admin';
const routes = [
  movieRouter,
  cinemaRouter,
  mineRouter,
  adminRouter,
  {
    path: "/",
    redirect: "/movie",
  },
];
const router = createRouter({
  history: createWebHistory(process.env.BASE_URL), //渲染index.html的bas_uil
  // history: createWebHistory('/miaomiao'), //渲染index.html的bas_uil
  routes,
});

export default router;
